<table id="city"></table>
<div id="city_tool" style="padding:5px;">
    <div style="margin-bottom:5px;">
        <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-add" onclick="city_tool.city_add();">新增</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-edit" onclick="city_tool.city_edit();">修改</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-decline" onclick="city_tool.remove();">删除</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-reload" onclick="city_tool.reload();">刷新</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" plain="true" iconCls="icon-redo" onclick="city_tool.redo();">取消选定</a>
    </div>
    <div style="padding:0 0 0 7px;color:#333;">
        查询城市：<input type="text" class="textbox" name="search_name" style="width:110px;">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" onclick="city_tool.search();">查询</a>
    </div>
</div>
<form id="city_add" style="margin:0;padding:5px 0 0 25px;color:#333;">
    <p>城市名称：<input type="text" name="cn_name" class="textbox" style="width:200px;"></p>
    <p>城市英文：<input type="text" name="en_name" class="textbox" style="width:200px;"></p>
    <p>所 在 省：<input type="text" name="province" class="textbox" style="width:200px;"></p>
</form>
<form id="city_edit" style="margin:0;padding:5px 0 0 25px;color:#333;">
    <input type="hidden" name="edit_id">
    <p>城市名称：<input type="text" name="edit_cn_name" class="textbox" style="width:200px;"></p>
    <p>城市英文：<input type="text" name="edit_en_name" class="textbox" style="width:200px;"></p>
    <p>所在省[不用写“省”字]：<input type="text" name="edit_province" class="textbox" style="width:200px;"></p>
</form>
<?php
Yii::app()->clientScript->registerScriptFile($this->baseUrl."/js/city.js",CClientScript::POS_END);
?>

